home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mmdf / mmdf-IIb.43 / h / adr_queue.h next >
Encoding:
C/C++ Source or Header  |  1986-02-01  |  1.6 KB  |  29 lines

  1. #
  2. /*  Address info stored in queue files                                  */
  3.  
  4. /*  Every message has an "address list" queued with it.  This file      */
  5. /*  contains the definitions of standard values and formats used in     */
  6. /*  that file.  The primary info is the structure of a single address   */
  7. /*  entry.                                                              */
  8.  
  9. struct adr_struct                 /* 1 address entry in queued list     */
  10. {
  11.     char    adr_tmp;              /* temp ok on this address            */
  12. #define ADR_AOK   '+'             /*   only address sent, so far        */
  13. #define ADR_CLR   '-'             /*   address is clear to send           */
  14.     char    adr_delv;             /* send to mailbox and/or tty         */
  15. #define ADR_MAIL   'm'            /*   Deliver as mail                  */
  16. #define ADR_TTY    't'            /*   Deliver to tty                   */
  17. #define ADR_BOTH   'b'            /*   Deliver both ways                */
  18. #define ADR_TorM   'e'            /*   either tty or else mail          */
  19. #define ADR_DONE   '*'            /*   No more processing to be done    */
  20.     char   *adr_que;              /* name of output channel queue       */
  21.     char   *adr_host;             /* host string                        */
  22.     char   *adr_local;            /* local-part of address              */
  23.     char   adr_buf[LINESIZE];     /* where to stash the unparsed text   */
  24.     long   adr_pos;          /* position in address list of this msg */
  25. };
  26.  
  27. #define ADR_DLOFF   2             /* file offset to adr_delv             */
  28. #define ADR_TMOFF   0             /* file offset to adr_tmp              */
  29.